package net.ssta.core.db.dsp;

import javax.naming.Context;
import javax.naming.NamingException;
import javax.sql.DataSource;

import net.ssta.core.db.DataSourceProvider;

public class TomcatDataSourceProvider  implements DataSourceProvider
{

	public DataSource getDataSource(Context ctx, String s) throws NamingException 
	{
		return (DataSource) ctx.lookup("java:comp/env/" + s);
	}

}
